﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.Core.Result
{
    /// <summary>
    /// Api返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiResult<T>
    {
        /// <summary>
        /// 返回状态码
        /// </summary>
        public ApiEnums Code { get; set; }
        /// <summary>
        /// 返回信息
        /// </summary>
        public string Message { get; set; } = string.Empty;
        /// <summary>
        /// 返回结果
        /// </summary>
        public T Result { get; set; }
    }
}
